package net.entelijan.testutil;

import org.apache.commons.lang.builder.EqualsBuilder;

public class SimpleBean {

	private String strVal;

	public SimpleBean() {
		super();
	}

	public SimpleBean(String strVal) {
		super();
		this.strVal = strVal;
	}

	@Override
	public String toString() {
		return "SimpleBean '" + strVal + "'";
	}

	@Override
	public boolean equals(Object obj) {
		return EqualsBuilder.reflectionEquals(this, obj);
	}
	
	@Override
	public int hashCode() {
		return 1;
	}
	
	public String getStrVal() {
		return strVal;
	}

	public void setStrVal(String strVal) {
		this.strVal = strVal;
	}

}
